Code 1
Diary Day 4
L04.1_JS/TS
- created and linked a classic "Hello World" script in Java and TS
Difference between TS and JS
- TS is known as an Object-oriented programming Language
- JS was initially designed as a client-side language. It has its problems when used for more complex Projects
- TS is basically JS with more extensions and higher orientation on Object-Based Programming
Why we use TS instead of JS
TS is basically a better version of JavaScript when working on larger Project like Videogames, which is our main goal when programming.
When working on Videogames, Object-Oriented Programming is very important which is a huge pro argument for TS
I created a small TS script which you can see here at Operators
Making a BranchStory using TS
you can play it here